adTempus API
PreviousUpNext
ISecurityDescriptor::Ace Method

Gets the ACE with the specified index

C++
HRESULT Ace(long index, [out, retval] IADTAce** pVal);
C#
Ace(long index, [out, retval] IADTAce* pVal);
Visual Basic
Sub Ace(index As long, pVal As [out, retval] IADTAce*)
Parameters 
Description 
[in] long index 
Index of the ACE to retrieve. This collection is 0-based, not 1-based like most other adTempus collections. Valid indexes are 0 to AceCount-1, inclusive. 
[out, retval] IADTAce** pVal 
The ACE 

This collection is 0-based, not 1-based like most other adTempus collections. Valid indexes are 0 to AceCount-1, inclusive. 

The method fails with error E_INVALIDARG if an invalid index is specified.

adTempus API Reference version 3.0.0.0, revised 10/30/2008